package com.hu.common.domain.base1;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: 355760
 * @Description:
 * @Version: 1.0
 */
@Data
@ApiModel("用户推荐")
public class BaseDTO implements Serializable {
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "gmtCreate", example = "2024-01-21 00:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreate;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private String gmtCreateBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "gmtModified", example = "2024-01-21 00:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModified;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    private String gmtModifiedBy;
}
